package com.longcai.piaojia.dialog;

import android.content.Context;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.load.resource.drawable.GlideDrawable;
import com.bumptech.glide.request.Request;
import com.bumptech.glide.request.target.ImageViewTarget;
import com.longcai.piaojia.R;
import com.zcx.helper.scale.ScaleScreenHelperFactory;

/**
 * Created by Administrator on 2015/6/11.
 */
public class ShowDialog extends BaseDialog {

    public ShowDialog(Context context) {

        super(context);

        initView();

    }

    private void initView(){

        setContentView(R.layout.dialog_show);

        final ImageView imageView = (ImageView) findViewById(R.id.show_iv);
        Glide.with(getContext()).load(R.drawable.refresh_icon).asGif().diskCacheStrategy(DiskCacheStrategy.SOURCE).override(ScaleScreenHelperFactory.getInstance().getWidthHeight(236), ScaleScreenHelperFactory.getInstance().getWidthHeight(220)).into(imageView);

    }

}
